package kr.co.hk.board.dto;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.rmi.CORBA.Tie;
/*
   create table board  (
   seq            VARCHAR2(10)     primary key     not null,
   userid         VARCHAR2(20)                     not null,
   title          VARCHAR2(200)                    not null,
   content        VARCHAR2(1000)                   not null,
   wdate          DATE                             not null,
   lvl            VARCHAR2(10)			   ,
   step           VARCHAR2(10)                     ,
   depth          VARCHAR2(10)                     ,
   delflag	  CHAR(1)                          DEFAULT 'N'
);
 * */

public class BoardDTO implements Serializable {
	private String seq;
	private String userid;
	private String title;
	private String content;
	private Timestamp wdate;
	private String lvl;
	private String step;
	private String depth;
	private String delflag;
	
	public String getSeq() {
		return seq;
	}
	public void setSeq(String seq) {
		this.seq = seq;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Timestamp getWdate() {
		return wdate;
	}
	public void setWdate(Timestamp wdate) {
		this.wdate = wdate;
	}
	public String getLvl() {
		return lvl;
	}
	public void setLvl(String lvl) {
		this.lvl = lvl;
	}
	public String getStep() {
		return step;
	}
	public void setStep(String step) {
		this.step = step;
	}
	public String getDepth() {
		return depth;
	}
	public void setDepth(String depth) {
		this.depth = depth;
	}
	public String getDelflag() {
		return delflag;
	}
	public void setDelflag(String delflag) {
		this.delflag = delflag;
	}
	
	@Override
	public String toString() {
		return "BoardDTO [seq=" + seq + ", userid=" + userid + ", title="
				+ title + ", content=" + content + ", wdate=" + wdate
				+ ", lvl=" + lvl + ", step=" + step + ", depth=" + depth
				+ ", delflag=" + delflag + "]";
	}
	
}
